$OpenBSD: patch-device_usb_usb_service_impl_h,v 1.2 2015/05/26 17:37:40 robert Exp $
--- device/usb/usb_service_impl.h.orig.port	Thu May 14 00:35:46 2015
+++ device/usb/usb_service_impl.h	Wed May 20 08:34:56 2015
@@ -42,11 +42,13 @@ class UsbServiceImpl : public UsbService {
   // Adds a new UsbDevice to the devices_ map based on the given libusb device.
   scoped_refptr<UsbDeviceImpl> AddDevice(PlatformUsbDevice platform_device);
 
+#if !defined(OS_BSD)
   // Handle hotplug events from libusb.
   static int LIBUSB_CALL HotplugCallback(libusb_context* context,
                                          PlatformUsbDevice device,
                                          libusb_hotplug_event event,
                                          void* user_data);
+#endif
   // These functions release a reference to the provided platform device.
   void OnDeviceAdded(PlatformUsbDevice platform_device);
   void OnDeviceRemoved(PlatformUsbDevice platform_device);
@@ -67,7 +69,9 @@ class UsbServiceImpl : public UsbService {
   // connected instead of only when a full enumeration is requested.
   // TODO(reillyg): Support this on all platforms. crbug.com/411715
   bool hotplug_enabled_;
+#if !defined(OS_BSD)
   libusb_hotplug_callback_handle hotplug_handle_;
+#endif
 
   // The map from unique IDs to UsbDevices.
   typedef std::map<uint32, scoped_refptr<UsbDeviceImpl>> DeviceMap;
